package com.egao.common.module.counsel.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.egao.common.core.web.PageParam;
import com.egao.common.module.counsel.entity.Counsel;
import com.egao.common.module.counsel.entity.CounselTeacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lym
 * @date 2022/1/24 17:06
 */
public interface CounselMapper extends BaseMapper<Counsel> {

    /**
     * 连表查询所有的预约咨询
     * @param page
     * @return
     */
    List<Counsel> selectListRel(@Param("page") PageParam<Counsel> page);

}
